PHP Classes
December 6, 2009 · 18 views · 0 comments
Nearby In Time
Crossposting the blogosphere
December 6, 2009
Crossposting the blogosphere
December 6, 2009
Crossposting Setup
December 6, 2009
Crossposting Setup
December 6, 2009
PHP Classes
December 6, 2009
A good weekend learning new technologies
December 7, 2009
A large zoo
December 7, 2009
You are doing it wrong!
December 8, 2009
About
After learning much about implementing classes in PHP, I went back and encapsulated many related methods into their own classes. I now have a database class that simplifies a lot of my logic. Since the database is at the core of my web application, every page broke as a result. The handing "log4php" class that I made the other day was a great help in tracking down problems that I missed. The infrastructure of this project is really starting to make things look very simple and clean. Perhaps I should look into unit testing against the PHP code as well. Not all errors can be caught with my logging class if the PHP code doesn't compile. From Dedric Mauriac via bloghud.com